package com.lww.feature.test.design.pattern.observer;

/**
 * @author: liweiwei
 * @date: 2019/1/23
 */
public class Client {
    public static void main(String[] args) {
        ConcreteObserver concreteObserver = new ConcreteObserver();
        ConcreteSubject concreteSubject = new ConcreteSubject();
        concreteSubject.attach(concreteObserver);
        concreteSubject.notify("==");


    }
}
